#ifndef PRODUCTEDITOR_H
#define PRODUCTEDITOR_H

#include "EditorWidgets/baseeditor.h"

namespace Ui {
class ProductEditor;
}

class ProductEditor : public BaseEditor
{
    Q_OBJECT

public:
    explicit ProductEditor(const QModelIndex &index=QModelIndex(),QWidget *parent = 0);
    ~ProductEditor();

private slots:
    void on_btn_cancel_clicked();

    void on_btn_ok_clicked();
protected slots:
    void onAccept();
signals:
    void updateData();
private:
    Ui::ProductEditor *ui;
};

#endif // PRODUCTEDITOR_H
